#ifndef __PWM_H
#define __PWM_H

#define PWMA_IN1    TIM1->CCR1
#define PWMA_IN2    TIM1->CCR2
#define PWMB_IN1    TIM1->CCR3
#define PWMB_IN2    TIM1->CCR4

void PWM_Init(void);
void PWM_SetCompare1(uint32_t Compare);
void PWM_SetCompare4(uint32_t Compare);
void Set_PWMA(uint32_t PWM);
void Set_PWMB(uint32_t PWM);

#endif
